//
//  UIViewController+Nav.h
//  jtw_iOS
//
//  Created by zhangzhenyun on 2018/3/6.
//  Copyright © 2018年 Beijing Youjiu Network. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIImage+Coolor.h"

@interface UIViewController (Nav)

- (void)showNavLine;
- (void)hiddenNavLine;

/**添加左箭头*/
- (void)addLeftItem;
- (void)addRightItemTitle:(NSString *)title titleColor:(UIColor *)titleColor;
- (void)addRigntItemWithImage:(NSString *)imgName;
- (void)leftItemClick:(UIButton *)sender;
- (void)rightItemClick:(UIButton *)sender;
/**设置导航栏背景色*/
- (void)setNavigationBackGroundColor:(UIColor *)color;
- (void)setNavigationItemFontAndColor;

/**把导航栏设置为全透明效果*/
- (void)setNavBarTransparent;
/**设置不透明*/
-(void)setNavBarOpaque;

/** 解决scrollview自动偏移问题*/
- (void)adjustsScrollViewInsets:(UIScrollView *)scrollView;

@end
